home *** CD-ROM | disk | FTP | other *** search
- Pip 1.0
- Written By Asher Feldman
-
- Pip allows you to easily pipe commands through each other, just as in Unix. For
- example, you could type a program in hexidemal (with the type opt h function)
- and have the output appear in more, or your favorite text reader. The Amiga
- comes with a pipe facility, the pipe: device. But, to make use of it, the user
- is required to enter multiple command lines, which is time consuming. Pip is a
- "user friendly" pipe utility, that does all the hard work automaticly for you,
- making the process quick and easy, as it is in Unix.
-
- Note!
- -----
-
- Pip requires the pipe: device be mounted. It is automaticly mounted in the
- default startup-sequence, so if you haven't changed that, don't worry.
-
- Because of the nature of the pipe: Pip will NOT work with programs that attempt
- to load file non-sequentially. If you are unsure about a program, just
- experiment with it!
-
- Usage
- -----
-
- Pip is relativly easy to use. The usage is
-
- Pip [-s] <command1> | <command2>
-
- <command1> may actualy contain upto 5 words, such as "type opt h prog" (without
- the quotes, of course.) The same is true for <command2>. The '|' character is
- used to seperate the two commands. It is the character above the '\' on your
- keyboard.
-
- [-s] is optional. It will allow the piped output be in a form that allows
- programs that must have a file name (as opposed to a redirection file,
- which is what Pip normaly uses) to access the information. This will allow
- you to, for example make the piped output go directly into a text editor.
-
- <command1> is the program to be run
- <command2> is the program <command1> will be piped to.
-
- For example, if I wanted to read Pip in hexidemal, but have the output appear in
- less, where I can move arround in two directions, and search for strings I would
- enter :
-
- Pip type opt h pip | less
-
- If you weren't using Pip, you would have to enter the following into you CLI :
-
- run type >pipe: opt h pip (Note that without the run you would have
- run less <pipe: to open a seccond cli to finish.)
-
- As you can see, it is much easier and quicker to use Pip.
-
- If I wanted to see the entire contents of DH0: in less, where you can search for
- files, or just browse, etc.. You would enter:
-
- Pip ls -lR dh0: | less
-
- If you wanted the output to be able to appear in a file editor you could enter
- the following (Ed shall be used for this example, as it's standard)
-
- Pip -s ls -lR dh0: | ed
-
- Note, that the -s option is required when <command2> expects the output in the
- form as a file (i.e. ram:file). If you are having trouble getting a program to
- recieve output, you should try using the -s option.
-
- Ls is an excelent 2.0 only directory lister. With different programs, the
- context will be diferent.
-
-
- * * *
-
-
- Limitations
- -----------
-
- Pip will only except 5 seperate words per command. Any more shall be cut off.
- Therefor, if you typed :
-
- Pip -s command opt a b c d | prog -a -b -c -d -e
-
- only the following would actualy be used:
-
- Pip -s command opt a b c | prog -a -b -c -d
-
- Note, that the 'd' in the first command, and the '-e' in the seccond command
- have been cut off. I figured that 5 words would be enough, but if you disagree,
- please contact me at one of the adresses at the bottom of this file, as it is
- easy enough to expand the number of excepted arguments. Note, that the -s option
- does not count as a word.
-
-
- How To Contact Me
- -----------------
- Send bug reports/comments, etc.. to:
-
- PORTAL: Wizard0
- INTERNET: asher@netcom.netcom.com
- Wizard0@cup.portal.com
-
- US Snail:
-
- Asher Feldman
- 4791 Calle de Tosca Phone: (408) 266-7917
- San Jose, CA 95118
-
- If you find this program useful, and would like to help out a poor high
- school student (as well as a die-hard Amiga user!) then I would greatly
- appreciate it if you sent a small amount of money, or maybe a nice euro
- demo to the address above. I would be even MORE grateful if you sent me a
- 1.2GIG hard drive or a v.32bis modem! :-)
-
- And Now For The Legal Claptrap
- -------------------------------
- If this program causes your computer to blow up, or your hard drive to
- implode, or anything else that isn't too nice, then it's your fault, not
- mine. This program is not "guaranteed" to do anything. (although if it
- doesn't, please send me (E)mail!)
-
- This program may be freely distributed as long as this doc file is included.
-
- And remember:
-
-
-
- ONLY _ C_o m m o d o_r_e _
- /\\ l\\ /l ll // \ /\\
- / \\ l \\ /ll ll(< __ / \\ MAKES IT POSSIBLE!!!!
- /--- \\l \X ll ll \\_ll/--- \\
- /______________________________\\
-
-
- A.F.
-
-
-
-
-
-